package com.ccrfid.rmc6.ws.c5.videosync.pojo;

import javax.xml.bind.annotation.*;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = {"iVersion", "iPort", "cIp", "cUsername", "cPassword", "cOrgCode"})
@XmlRootElement(name = "listVideo")
public class ListVideoRequest {
    @XmlElement(name = "iVersion", required = true)
    private Integer iVersion;
    @XmlElement(name = "iPort", required = true)
    private Integer iPort;
    @XmlElement(name = "cIp", required = true)
    private String cIp;
    @XmlElement(name = "cUsername")
    private String cUsername;
    @XmlElement(name = "cPassword")
    private String cPassword;
    @XmlElement(name = "cOrgCode")
    private String cOrgCode;

    public Integer getiVersion() {
        return iVersion;
    }

    public void setiVersion(Integer iVersion) {
        this.iVersion = iVersion;
    }

    public Integer getiPort() {
        return iPort;
    }

    public void setiPort(Integer iPort) {
        this.iPort = iPort;
    }

    public String getcIp() {
        return cIp;
    }

    public void setcIp(String cIp) {
        this.cIp = cIp;
    }

    public String getcUsername() {
        return cUsername;
    }

    public void setcUsername(String cUsername) {
        this.cUsername = cUsername;
    }

    public String getcPassword() {
        return cPassword;
    }

    public void setcPassword(String cPassword) {
        this.cPassword = cPassword;
    }

    public String getcOrgCode() {
        return cOrgCode;
    }

    public void setcOrgCode(String cOrgCode) {
        this.cOrgCode = cOrgCode;
    }

    @Override
    public String toString() {
        return "ListVideoRequest{" +
                "iVersion=" + iVersion +
                ", iPort=" + iPort +
                ", cIp='" + cIp + '\'' +
                ", cUsername='" + cUsername + '\'' +
                ", cPassword='" + cPassword + '\'' +
                ", cOrgCode='" + cOrgCode + '\'' +
                '}';
    }
}
